package com.lianlu.res;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.List;

/**
 * <p>获取语音模版响应</p >
 *
 * @author youyoukele
 * @version 1.0
 * @date 2024/5/14 17:25
 */
@Data
@Accessors(chain = true)
@JsonIgnoreProperties(ignoreUnknown = true)
public class GetVoiceTemplateResponse extends BaseResponse {

    private List<Data> data;

    @lombok.Data
    @Accessors(chain = true)
    @JsonIgnoreProperties(ignoreUnknown = true)
    public static final class Data {

        /**
         * access : {"voice":0,"volume":50,"wait":1,"playNum":1,"dtmf":["","","","","","","","","","","",""],"speed":50,"vsType":"1","sdtmf":[null,null,null,null,null,null,null,null,null,null,null,null]}
         * productId : 1004
         * userName : 美服数字
         * type : 2
         * sendCount : 0
         * userId : 1039381
         * content : https://gohuoos1-1253836466.cos.ap-chengdu.myqcloud.com/MMS/WAV1004//1712024664055_70095047_1.wav
         * templateName : 虞美人语音模版
         * ctime : 2024-04-02T02:22:29.000+00:00
         * postCount : 0
         * id : 70095047
         * refuseReason :
         * status : 1
         */

        private String access;
        private String productId;
        private String userName;
        private String type;
        private String sendCount;
        private String userId;
        private String content;
        private String templateName;
        private String ctime;
        private String postCount;
        private String id;
        private String refuseReason;
        private String status;

    }

}
